package day2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class WashDish2 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        String answer="yes";
//        do{
//            System.out.println("洗碗：放水，加洗洁精，开始洗");
//            System.out.print("请你娘检查：洗干净了吗？");
//            answer=in.next();
//        }while (answer.equals("yes")==false);

        while(true){
            System.out.println("洗碗：放水，加洗洁精，开始洗");
            System.out.print("请你娘检查：洗干净了吗？");
            answer=in.next();
            if(answer.equals("yes")){
                break;
            }
        }
        System.out.println("洗好了");
    }
}
